package edu.uow.devdocs

class EmailService {
	def sendEmail

    def notifyNewAssignment(Assignment assignment) {
		//if (sendMail) {
		//	sendEmail {
		//		to assignmentInstance?.person + "@uow.edu.au"
		//		subject "Assignment for " + assignmentInstance?.project
		//		body contents
		//	}
		//}
		//def contents = render(view:"/emails/newAssignment",
		//	model:[assignmentInstance: assignment])
	}
	
}
